import Vue from 'vue'
import Router from 'vue-router'
import Meeting from '@/components/Meeting'
import Question from '@/components/Question'
import MeetingQuestions from '@/components/MeetingQuestions'
import HotWords from '@/components/HotWords'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Meeting',
      component: Meeting
    },
    {
      path: '/question/:meetingId',
      name: 'Question',
      component: Question
    },
    {
      path: '/meetingQuestions/:meetingId',
      name: 'MeetingQuestions',
      component: MeetingQuestions
    },
    {
      path: '/hotWords',
      name: 'HotWords',
      component: HotWords
    }
  ]
})
